package com.study.spring.tcp;

import java.nio.charset.StandardCharsets;

/**
 * TODO
 *
 * @author: zhang
 * @version: 3.0
 * @date: 2019-08-29 22:13:00
 * @since 1.8
 **/
public class Test {

    public static void main(String[] args) {
        int[][] rest = new int[][]{{1, 2, 3}, {2}};
        for (int i = 0; i < rest[0].length; i++) {
            System.out.println(rest[0][i]);
        }
        System.out.println(rest.length);
        int[][] result = new int[rest.length + 1][];
        result[0] = new int[]{1, 2, 3, 4};
        System.arraycopy(rest, 0, result, 1, rest.length);


        System.out.println("ctrl");

        System.out.println((int) '*');
        System.out.println((int) '?');
        System.out.println((int) 'a');
        System.out.println((int) '9');

        System.out.println("AUTH".getBytes(StandardCharsets.UTF_8).length);

    }
}
